package com.ganeshkrishnan.globald.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.ganeshkrishnan.globald.abstracts.BaseObject;

@Entity
public class Allies extends BaseObject {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private int					ID;
	private Long				PersonID;
	private Long				AllyID;
	//0=Natural(same country),1=Initiated, 2=Voted by Govt
	// 101= enemy?
	private int					AllyType;
	private Date				AllianceCreated;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public Long getPersonID() {
		return PersonID;
	}

	public void setPersonID(Long personID) {
		PersonID = personID;
	}

	public Long getAllyID() {
		return AllyID;
	}

	public void setAllyID(Long allyID) {
		AllyID = allyID;
	}

	public int getAllyType() {
		return AllyType;
	}

	public void setAllyType(int allyType) {
		AllyType = allyType;
	}

	public Date getAllianceCreated() {
		return AllianceCreated;
	}

	public void setAllianceCreated(Date allianceCreated) {
		AllianceCreated = allianceCreated;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
}
